<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/10/18
  Time: 14:59
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>文件上传</title>
    <script src="webjars/jquery/3.6.0/jquery.min.js"></script>
    <link rel="stylesheet" href="webjars/bootstrap/3.4.1/css/bootstrap.min.css">
    <script src="webjars/bootstrap/3.4.1/js/bootstrap.min.js"></script>
    <style>
        .container{
            width: 500px;
            margin-top: 20px;
        }
        .form-control{
            margin: 10px 5px;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="panel panel-primary">
            <div class="panel-heading">
                <div class="panel-title">
                    <h4>文件上传</h4>
                </div>
            </div>
            <div class="panel-body">
                <form class="form-signin" method="post" action="/user/upload.do" enctype="multipart/form-data">
                    <input type="file" name="file" class="form-control" placeholder="请选择要上传的文件">
                    <button class="btn btn-lg btn-primary btn-block" type="submit">上传</button>
                </form>
            </div>
            <div class="panel-footer text-right">
                泽林教育2021.
            </div>
        </div>

    </div>

</body>
</html>
